﻿@{
    Layout = "~/Skins/Cms/Views/Shared/_Layout.cshtml";
}
<link href="/Skins/Cms/Content/css/Products.css" rel="stylesheet" />
@model IQueryable<YTCMS.Domain.Entities.products>
@using YTCMS.Core;
<div class="product_list">
    <div class="center">
        <div class="keyword">
            <span class="span_keyword">
                @(ViewData["keyword"]??"全部")
            </span>
            <span class="mobile">
                <span class="min">联系电话：</span> @(Model.YTFirst()==null?"400-1552-585":Model.First().Phone)
            </span>
        </div>
        <div class="content" id="showData">
            @Html.Partial("List",Model)
        </div>
    </div>
</div>

<script>
    function to_page(pageIndex) {
        $.btnClick({
            url: "/Products/Search",
            data: { pageIndex: pageIndex }
        })
    }
</script>